﻿/*------------------------------------*\
    CONTENTS
\*------------------------------------*/
/*
OVERRIDES
GLOBAL
LAYOUT
HOME
ERROR
DEMO PURCHASE_V1
DEMO UPLOAD_V1
*/

/*------------------------------------*\
    OVERRIDES
\*------------------------------------*/

.home.icon {
    font-size: 2em;
}

/*------------------------------------*\
    GLOBAL
\*------------------------------------*/

/*body {
    font-size: 14px;
    line-height: 1.5em;
    color: #333;
    font-family: "Open Sans", "Source Sans Pro", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}*/

small {
    font-size: 0.75em;
}

.capitalize {
    text-transform: capitalize !important;
}

a {
    text-decoration: none;
    color: #568cbe;
}

a:hover {
    color: #D95C5C;
}

.nowrap {
    white-space: nowrap;
}

code {
    padding: 2px 4px;
    color: #D95C5C;
    white-space: nowrap;
    background-color: #fff;
    border: 1px solid #e1e1e8;
    font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
    font-size: 12px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

textarea {
    font-family: Arial;
}

.hidden {
    display: none;
}

.image-border {
    margin: 1em 0;
    border: solid 1px #e5e5e5;
}

/*------------------------------------*\
    LAYOUT
\*------------------------------------*/

body > menu {
    min-height: 39px;
}

body#tutorial > .segment {
    padding-bottom: 20px;
}

.segment .ten.wide.column p {
    font-size: 0.85em;
}

.container {
    width: 915px;
    margin: 0px auto;
}

.ui.list {
    list-style-type: disc;
}

.ui.list p {
    line-height: 1.4em;
}

.ui.spacer {
    margin-top: 2em;
    margin-bottom: 2em;
    position: relative;
}

.main.container {
    position: relative;
    padding-bottom: 100px;
}

.download-button {
    position: absolute;
    right: 0;
    bottom: -84px;
    z-index: 20;
}

.request-button {
    position: absolute;
    right: 0;
    bottom: -4px;
    z-index: 21;
}

.request-button > .ui.button {
    text-transform: none;
    font-weight: normal;
    padding: 0.5em 0.8em;
}

.request-button .popover {
    font-size: 0.9em;
    min-width: 300px;
}

h1 var {
    font-size: 14px;
    color: #777;
}

h1 .ui.small.label {
    font-size: 0.65rem;
    margin: 0;
}

.demo {
    margin: 1em 0;
}

.demo .ui.list {
    margin-bottom: 2em;
}

.demo .syntaxhighlighter {
    margin: 0 !important;
}

#tutorial h3.ui.header {
    font-size: 1rem;
}

.page-version time {
    font-size: 0.5em;
    color: #777;
    float: right;
    margin-top: 1em;
}

footer {
    text-align: center;
}
/*
.ui.vertical.menu .item > .main {
    margin: 0.5em -0.95em 0em;
}
*/



/*------------------------------------*\
    HOME
\*------------------------------------*/

.project-runningcoder.page-overview img {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.project-runningcoder.page-overview .main.container .grid p {
    font-size: 0.85em;
    margin-bottom: 1rem;
}

.project-runningcoder.page-overview .project-description {
    margin-bottom: 1rem;
}



/*------------------------------------*\
    ERROR
\*------------------------------------*/

.ui.form label {
    margin: 0em 0em 1em;
    display: block;
    color: #555555;
    font-size: 0.875em;
    position: relative;
}


div.error,
div.error-list,
label.error,
input.error,
select.error {
    color: #D95C5C !important;
    border-color: #D95C5C !important;
}

div.custom-error,
div.custom-error-list,
label.custom-error,
input.custom-error {
    color: #F7879E !important;
    border-color: #F7879E !important;
}

form .error-list {
    font-size: 0.875em;
}

form label .error-list {
    font-size: 1em;
}

form > .error-list {
    background-color: #fffafa;
    border: dashed 1px #d95c5c;
    padding: 1em;
    margin-bottom: 1em;
}

form > .error-list ul {
    margin-left: 1.5em;
}

form > .error-list li {
    list-style: disc;
}

form .custom-error-list {
    position: absolute;
    bottom: 0;
    font-size: 0.7em;
    width: 40%;
    right: 0;
    top:0;
    color:#ff0000;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
form .custom-error-list ul
{
    padding-right:20px;
}
form .custom-error-list li
{
    color:#F7879E !important;
    line-height:40px;
    text-align:right;
    margin:0;
    float:none !important;
    }

form .ui.red.pointing.below.label {
    position: absolute;
    bottom: 35px;
    width: 50%;
    right: -23.25%;
    z-index: 11;
    text-transform: none;

}

form label.radio .ui.red.pointing.below.label,
form label.checkbox .ui.red.pointing.below.label {
    right: inherit;
    bottom: -5px;
    margin-bottom: 0;
}

form label.radio .ui.pointing.below.label,
form label.checkbox .ui.pointing.below.label {
    margin-top: 0em;
    margin-left: 1em;
}

form label.radio .ui.pointing.below.label:before,
form label.checkbox .ui.pointing.below.label:before {
    margin-top: -0.3em;
    bottom: auto;
    right: auto;
    top: 50%;
    left: 0em;
}

form .ui.checkbox .ui.red.pointing.below.label {
    right: inherit;
    left: -55%;
    bottom: -30px;
    margin-right: 0;
}

.ui.checkbox .ui.pointing.below.label {
    margin-top: 0em;
    margin-right: 1em;
}

.ui.checkbox .ui.pointing.below.label:before {
    margin-top: -0.3em;
    right: -0.3em;
    top: 50%;
    bottom: auto;
    left: auto;
}
/*
form .field.select .ui.pointing.below.label:before {
    margin-top: -0.3em;
    bottom: auto;
    right: auto;
    top: 50%;
    left: 0em;
}

form .field.select .ui.red.pointing.below.label {
    right: inherit;
    margin-right: 0;
}
*/


.ui.form input[disabled],
.ui.form select[disabled],
.ui.form textarea[disabled],
.ui.form input[readonly],
.ui.form select[readonly],
.ui.form textarea[readonly] {
    cursor: not-allowed;
    background-color: #f7f7f7;
    color: #999;
}

.ui.form input[type="radio"][disabled],
.ui.form input[type="checkbox"][disabled],
.ui.form input[type="radio"][readonly],
.ui.form input[type="checkbox"][readonly] {
    background-color: transparent;
}

.ui.form .control-group {
    clear: both;
    margin: 0em 0em 1em;
}

.ui.form .control-group > label {
    margin: 0em 0em 0.3em;
    display: block;
    font-size: 0.875em;
}

.ui.form .control-group.error label {
    color: #D95C5C !important;
}

.control-group .controls {
    position: relative;
}

.control-group .icon {
    display: inline-block;
    margin: 0 .25em 0 0;
    width: 1.23em;
    height: 1em;
    font-family: Icons;
    font-style: normal;
    line-height: 1;
    font-weight: 400;
    text-decoration: inherit;
    text-align: center;
    speak: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;

    position: absolute;
    right: 20px;
    top: 14px;
    z-index: 20;
    color: #333;
}

.control-group .icon.attention:before {
    content: "\f06a";
}

.control-group .icon.attention:hover ul {
    display: inline-block;
}

.control-group .icon.attention ul {
    display: none;
    position: absolute;
    bottom: 12px;
    width: 300px;
    left: -140px;
    z-index: 11;
    text-transform: none;
    padding: 0.5em 0.8em;
    font-weight: normal;
    border-radius: 0.325em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: background 0.1s linear;
    transition: background 0.1s linear;
    margin-top: 0em;
    margin-bottom: 1em;
    background-color: #D95C5C !important;
    border-color: #D95C5C !important;
    color: #FFFFFF !important;
    font-family: 'Open Sans', 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 13px;
}

.control-group .icon.attention ul:before {
    margin-left: -0.3em;
    top: auto;
    right: auto;
    bottom: -0.3em;
    left: 50%;
    position: absolute;
    content: "";
    width: 0.6em;
    height: 0.6em;
    background-image: none;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    z-index: 2;
    -webkit-transition: background 0.1s linear;
    transition: background 0.1s linear;
    background-color: #D95C5C !important;
}

.control-group.error input,
.control-group.error select {
    border-color: rgba(0, 0, 0, 0.2) !important;
}


/*------------------------------------*\
    DEMO
\*------------------------------------*/

.page-demo h2 > small {
    font-size: 0.5em;
}

.page-demo .ui.accordion {
    position: relative;
}

/*
.page-demo .ui.accordion > h2 {
    margin-bottom: 0;
}
*/

.page-demo button.mini {
    font-weight: normal;
    text-transform: none;
}

.page-demo .ui.accordion > button.mini {
    position: absolute;
    top: 3px;
    left: 182px;
}

.page-demo .ui.accordion > button.mini.advanced-demos {
    top: 4px;
    left: 243px;
}

.page-demo .console {
    background-color: #000;
    height: 500px;
}

.page-demo .console iframe {
    padding: 10px;
    overflow-y: scroll;
    height: 500px;
    width: 100%;
    color: #2181cf !important;
    margin: 0;
    padding: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
    background-color: rgba(0, 0, 0, 0);
}


/*------------------------------------*\
    DEMO PURCHASE_V1
\*------------------------------------*/

.ui.form.purchase {
    background: #f2f2f2;
}

.ui.form.purchase h3.first {
    margin-top: -1em;
}

.ui.form.purchase h3 {
    position: relative;
    margin: 1em -1em 1em;
    padding: 1em;
    background: #6d6e70;
    color: #fff;
    font-weight: bold;
}

.ui.form.purchase .spacer p {
    font-size: 13px;
}

.ui.form.purchase h3 .ui.red.pointing.below.label,
.ui.form.purchase h3 .ui.red.pointing.below.label {
    right: inherit;
    bottom: 11px;
    margin-bottom: 0;
    margin-top: 0em;
    margin-left: 1em;
}

.ui.form.purchase h3 .ui.pointing.below.label:before,
.ui.form.purchase h3 .ui.pointing.below.label:before {
    margin-top: -0.3em;
    bottom: auto;
    right: auto;
    top: 50%;
    left: 0em;
}

.ui.form.purchase i.icon.payment.visa {
    width: 51px;
    height: 32px;

}

.card-list li {
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
    background: transparent url('../../jqueryvalidation/img/creditcard-logos.png');
    background-position: 0 0;
    display: inline-block;
    height: 32px;
    margin-right: 8px;
    text-indent: -9999px;
    width: 51px;
}

.card-list .visa { background-position: 0 0; }
.card-list .visa.off { background-position: 0 32px; }

.card-list .mastercard { background-position: -102px 0; }
.card-list .mastercard.off { background-position: -102px 32px; }

.card-list .discover { background-position: -204px 0; }
.card-list .discover.off { background-position: -204px 32px; }

.card-list .amex { background-position: -255px 0; }
.card-list .amex.off { background-position: -255px 32px; }


/*------------------------------------*\
    DEMO UPLOAD_V1
\*------------------------------------*/

.ui.form.upload .upload-placeholder {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.ui.form.upload .upload-field {
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}

.ui.form.upload .ui.button.upload-button {
    max-width: 64px;
    padding-left: 1em;
    padding-right: 1em;
}

.ui.form.upload  .ui.red.pointing.below.label {
    right: -13.25%;
}


/*------------------------------------*\
    TUTORIAL
\*------------------------------------*/

.page-tutorial .ui.grid > .column * {
    font-size: 14px;
}

.page-tutorial .ui.grid > .column p {
    margin-bottom: 1em;
}

.page-tutorial iframe {
    width: 100%;
    height: 156px;
    border: solid 1px #dfe0e4;
    border-left: solid 3px #568cbe;
}

.page-tutorial .click-here {
    font-weight: bold;
    font-size: 1.15em;
}


/*------------------------------------*\
    typeahead
\*------------------------------------*/

.page-demo #form-bootstrap_v1 {
    display: none;
}